package chixing.day06;

public class Customer {
    private String custName;
    private double custbalance;
    public Customer()  {
        custName = " ";
        custbalance = 0.0;
    }
    public Customer(String custName, double custbalance)  {
        this.custName = custName;
        this.custbalance = custbalance;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public double getCustbalance() {
        return custbalance;
    }

    public void setCustbalance(double custbalance) {
        this.custbalance = custbalance;
    }

    public void printCustomerInfo()  {
        System.out.println("Customer Name: " + custName);
        System.out.println("Customer Balance: " + custbalance);
    }
}
